<?php

return [
  [
    'code' => 'basic',
    'parent_code' => NULL,
    'name' => '基础配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login',
    'parent_code' => 'basic',
    'name' => '登录设置',
    'description' => '登录设置组',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.bg',
    'parent_code' => 'basic.login',
    'name' => '登录背景',
    'description' => '登录背景图',
    'type' => 'string',
    'value' => '/static/img/admin/login_bg.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha',
    'parent_code' => 'basic.login',
    'name' => '登录验证码',
    'description' => '登录验证码',
    'type' => 'radio',
    'value' => 'none',
    'store_range' => [
      [
        'name' => '关闭验证码',
        'value' => 'none',
      ],
      [
        'name' => '图片验证码',
        'value' => 'code',
      ],
      [
        'name' => '极验验证码',
        'value' => 'geetest',
      ],
    ],
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_code',
    'parent_code' => 'basic.login',
    'name' => '验证码配置',
    'description' => '验证码配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_code.math',
    'parent_code' => 'basic.login.captcha_code',
    'name' => '算数验证码',
    'description' => '是否算数验证码',
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_geetest',
    'parent_code' => 'basic.login',
    'name' => '极验验证码配置',
    'description' => '极验验证码配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_geetest.captcha_id',
    'parent_code' => 'basic.login.captcha_geetest',
    'name' => '极验CaptchaId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_geetest.private_key',
    'parent_code' => 'basic.login.captcha_geetest',
    'name' => '极验CaptchaKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail',
    'parent_code' => 'basic',
    'name' => '邮件配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.code_template',
    'parent_code' => 'basic.mail',
    'name' => '邮件验证码模板',
    'description' => '邮件验证码模板，请在模板中插入{$code}',
    'type' => 'string',
    'value' => '您的邮箱验证码为：{$code}，5分钟有效',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.from',
    'parent_code' => 'basic.mail',
    'name' => '发件人邮箱',
    'description' => '发件人邮箱',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.from_name',
    'parent_code' => 'basic.mail',
    'name' => '发件人姓名',
    'description' => '发件人姓名',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_host',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务器',
    'description' => '邮件服务器地址',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_pass',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务密码',
    'description' => '邮件服务密码',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_port',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务器端口',
    'description' => '邮件服务器的端口',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_user',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务用户名',
    'description' => '邮件服务用户名',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.verify_type',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务验证方式',
    'description' => '邮件服务验证方式',
    'type' => 'string',
    'value' => '',
    'store_range' => [
      [
        'name' => '无',
        'value' => '',
      ],
      [
        'name' => 'SSL',
        'value' => 'ssl',
      ],
      [
        'name' => 'TLS',
        'value' => 'tls',
      ],
    ],
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site',
    'parent_code' => 'basic',
    'name' => '网站配置',
    'description' => '网站设置组',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.beian',
    'parent_code' => 'basic.site',
    'name' => '备案号',
    'description' => '网站备案号',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.beian_url',
    'parent_code' => 'basic.site',
    'name' => '工信部网址',
    'description' => '工信部网址',
    'type' => 'string',
    'value' => 'https://beian.miit.gov.cn/',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.cdnurl',
    'parent_code' => 'basic.site',
    'name' => '全站 cdn 地址',
    'description' => '全站 cdn 地址',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.copyright',
    'parent_code' => 'basic.site',
    'name' => '版权信息',
    'description' => '版权信息',
    'type' => 'string',
    'value' => '星品科技',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.copytime',
    'parent_code' => 'basic.site',
    'name' => '版权时间',
    'description' => '版权时间',
    'type' => 'string',
    'value' => '2015-2022',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.logo',
    'parent_code' => 'basic.site',
    'name' => '网站logo',
    'description' => NULL,
    'type' => 'file',
    'value' => '/static/img/logo.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.name',
    'parent_code' => 'basic.site',
    'name' => '网站名称',
    'description' => NULL,
    'type' => 'string',
    'value' => 'SheepJS',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.sign',
    'parent_code' => 'basic.site',
    'name' => '自定义签名',
    'description' => '请设置英文字符串',
    'type' => 'string',
    'value' => 'sheepadmin',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.version',
    'parent_code' => 'basic.site',
    'name' => '版本号',
    'description' => '版本号',
    'type' => 'string',
    'value' => '1.0.0',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.user',
    'parent_code' => 'basic',
    'name' => '用户配置',
    'description' => '用户默认值配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.user.avatar',
    'parent_code' => 'basic.user',
    'name' => '默认头像',
    'description' => '用户默认头像',
    'type' => 'string',
    'value' => '/static/img/default_avatar.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.user.nickname',
    'parent_code' => 'basic.user',
    'name' => '默认昵称',
    'description' => '用户默认昵称',
    'type' => 'string',
    'value' => '用户',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat',
    'parent_code' => NULL,
    'name' => '客服配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.application',
    'parent_code' => 'chat',
    'name' => '客服应用设置',
    'description' => '客服应用设置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.application.shop',
    'parent_code' => 'chat.application',
    'name' => '商城客服',
    'description' => '商城客服配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.application.shop.room_id',
    'parent_code' => 'chat.application.shop',
    'name' => '客服连接类型',
    'description' => '官网客服连接类型',
    'type' => 'string',
    'value' => 'admin',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic',
    'parent_code' => 'chat',
    'name' => '基础配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic.allocate',
    'parent_code' => 'chat.basic',
    'name' => '分配客服方式',
    'description' => NULL,
    'type' => 'string',
    'value' => 'busy',
    'store_range' => [
      [
        'name' => '忙碌程度',
        'value' => 'busy',
      ],
      [
        'name' => '轮流',
        'value' => 'turns',
      ],
      [
        'name' => '随机',
        'value' => 'random',
      ],
    ],
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic.auto_customer_service',
    'parent_code' => 'chat.basic',
    'name' => '自动分配客服',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic.last_customer_service',
    'parent_code' => 'chat.basic',
    'name' => '默认上次客服',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system',
    'parent_code' => 'chat',
    'name' => '系统配置',
    'description' => '请谨慎修改',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.inside_host',
    'parent_code' => 'chat.system',
    'name' => '内部通讯地址',
    'description' => '无特殊需求不要改',
    'type' => 'string',
    'value' => '127.0.0.1',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.inside_port',
    'parent_code' => 'chat.system',
    'name' => '内部通讯端口',
    'description' => '对内提供服务',
    'type' => 'string',
    'value' => '9191',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.port',
    'parent_code' => 'chat.system',
    'name' => '端口(需要放行)',
    'description' => '对外服务端口',
    'type' => 'string',
    'value' => '2121',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.ssl',
    'parent_code' => 'chat.system',
    'name' => '证书模式',
    'description' => NULL,
    'type' => 'string',
    'value' => 'reverse_proxy',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.ssl_cert',
    'parent_code' => 'chat.system',
    'name' => 'ssl 证书',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.ssl_key',
    'parent_code' => 'chat.system',
    'name' => 'ssl key',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms',
    'parent_code' => NULL,
    'name' => '短信配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways',
    'parent_code' => 'easysms',
    'name' => '网关配置',
    'description' => NULL,
    'type' => 'string',
    'value' => 'aliyun',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun',
    'parent_code' => 'easysms',
    'name' => '阿里云',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.access_key_id',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云AccessId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.access_key_secret',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云AccessSecret',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.sign_name',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.template',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云短信模板',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ['event' => 'smsLogin',       'value' => 'SMS_131111111'],
      ['event' => 'smsRegister',    'value' => 'SMS_131111111'],
      ['event' => 'resetPassword',  'value' => 'SMS_131111111'],
      ['event' => 'changeMobile',   'value' => 'SMS_131111111'],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei',
    'parent_code' => 'easysms',
    'name' => '华为云',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.app_key',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云AppKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.app_secret',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云AppSecret',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.endpoint',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云Endpoint',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.sign_name',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.template',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云模板',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ['event' => 'smsLogin',       'value' => 'SMS_131111111'],
      ['event' => 'smsRegister',    'value' => 'SMS_131111111'],
      ['event' => 'resetPassword',  'value' => 'SMS_131111111'],
      ['event' => 'changeMobile',   'value' => 'SMS_131111111'],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud',
    'parent_code' => 'easysms',
    'name' => '腾讯云',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.app_key',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云AppKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.sdk_app_id',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云SdkAppId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.sign_name',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.template',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云短信模板',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ['event' => 'smsLogin',       'value' => 'SMS_131111111'],
      ['event' => 'smsRegister',    'value' => 'SMS_131111111'],
      ['event' => 'resetPassword',  'value' => 'SMS_131111111'],
      ['event' => 'changeMobile',   'value' => 'SMS_131111111'],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao',
    'parent_code' => 'easysms',
    'name' => '短信宝',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao.password',
    'parent_code' => 'easysms.gateways_smsbao',
    'name' => '短信宝密码',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao.sign_name',
    'parent_code' => 'easysms.gateways_smsbao',
    'name' => '短信宝短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao.user',
    'parent_code' => 'easysms.gateways_smsbao',
    'name' => '短信宝账号',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem',
    'parent_code' => NULL,
    'name' => '上传配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks',
    'parent_code' => 'filesystem',
    'name' => '存储配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.access_id',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云AccessId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.access_secret',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云AccessSecret',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.bucket',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云Bucket',
    'description' => '阿里云Bucket',
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.endpoint',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云Endpoint',
    'description' => '阿里云Endpoint',
    'type' => 'string',
    'value' => 'oss-cn-beijing.aliyuncs.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.url',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云文件域名',
    'description' => '阿里云文件域名',
    'type' => 'string',
    'value' => 'https://sheepjs.oss-cn-beijing.aliyuncs.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.public',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.public.url',
    'parent_code' => 'filesystem.disks.public',
    'name' => '本地文件域名',
    'description' => '本地文件域名',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.app_id',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云Appid',
    'description' => '腾讯云Appid',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.bucket',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云Bucket',
    'description' => '腾讯云Bucket',
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.region',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云所属地域',
    'description' => '腾讯云所属地域',
    'type' => 'string',
    'value' => 'ap-beijing',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.secret_id',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云SecretId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.secret_key',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云SecretKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.url',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云文件域名',
    'description' => '腾讯云文件域名',
    'type' => 'string',
    'value' => 'https://sheepjs.cos.ap-beijing.myqcloud.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.access_key',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云AccessKey',
    'description' => '七牛云AccessKey',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.bucket',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云Bucket',
    'description' => '七牛云Bucket',
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.secret_key',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云SecretKey',
    'description' => '七牛云SecretKey',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.url',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云文件域名',
    'description' => '七牛云文件域名',
    'type' => 'string',
    'value' => 'https://sheepjs.hb-bkt.clouddn.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.driver',
    'parent_code' => 'filesystem',
    'name' => '存储引擎',
    'description' => NULL,
    'type' => 'radio',
    'value' => 'public',
    'store_range' => [
      [
        'name' => '本地存储',
        'value' => 'public',
      ],
      [
        'name' => '阿里云oss',
        'value' => 'aliyun',
      ],
      [
        'name' => '腾讯云',
        'value' => 'qcloud',
      ],
      [
        'name' => '七牛云',
        'value' => 'qiniu',
      ],
    ],
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.extensions',
    'parent_code' => 'filesystem',
    'name' => '允许后缀',
    'description' => NULL,
    'type' => 'string',
    'value' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf,tar,gz,xz,pem,crt',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.filesize',
    'parent_code' => 'filesystem',
    'name' => '文件限制',
    'description' => NULL,
    'type' => 'int',
    'value' => 50,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.imagesize',
    'parent_code' => 'filesystem',
    'name' => '图片限制',
    'description' => NULL,
    'type' => 'int',
    'value' => 10,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop',
    'parent_code' => NULL,
    'name' => '商城配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic',
    'parent_code' => 'shop',
    'name' => '基本信息',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.about_us',
    'parent_code' => 'shop.basic',
    'name' => '关于我们',
    'description' => NULL,
    'type' => 'array',
    'value' => ['title' => '关于我们', 'id' => 3],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.copyright',
    'parent_code' => 'shop.basic',
    'name' => '版权信息',
    'description' => '版权信息',
    'type' => 'string',
    'value' => '河南星品科技有限公司版权所有',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.copytime',
    'parent_code' => 'shop.basic',
    'name' => '版权时间',
    'description' => '版权时间',
    'type' => 'string',
    'value' => 'Copyright© 2018-2022',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.domain',
    'parent_code' => 'shop.basic',
    'name' => '商城域名',
    'description' => NULL,
    'type' => 'string',
    'value' => 'https://shopro.sheepjs.com/#/',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.logo',
    'parent_code' => 'shop.basic',
    'name' => '商城logo',
    'description' => NULL,
    'type' => 'string',
    'value' => '/static/img/shop/logo.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.name',
    'parent_code' => 'shop.basic',
    'name' => '商城名称',
    'description' => NULL,
    'type' => 'string',
    'value' => 'Shopro商城',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.privacy_protocol',
    'parent_code' => 'shop.basic',
    'name' => '隐私协议',
    'description' => NULL,
    'type' => 'array',
    'value' => ['title' => '隐私协议', 'id' => 2],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.user_protocol',
    'parent_code' => 'shop.basic',
    'name' => '用户协议',
    'description' => NULL,
    'type' => 'array',
    'value' => ['title' => '用户协议', 'id' => 1],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.basic.version',
    'parent_code' => 'shop.basic',
    'name' => '版本号',
    'description' => NULL,
    'type' => 'string',
    'value' => '1.0.0',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission',
    'parent_code' => 'shop',
    'name' => '分销设置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.agent_check',
    'parent_code' => 'shop.commission',
    'name' => '分销商审核',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.agent_form',
    'parent_code' => 'shop.commission',
    'name' => '完善资料表单',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'status' => '1',
      'background_image' => '/static/img/shop/config/apply-agent.png',
      'content' => [
        [
          'type' => 'text',
          'name' => '姓名',
        ],
        [
          'type' => 'number',
          'name' => '电话',
        ],
        [
          'type' => 'image',
          'name' => '身份证',
        ],
      ],
    ],
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.apply_protocol',
    'parent_code' => 'shop.commission',
    'name' => '申请协议',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'status' => '1',
      'id' => '1',
      'title' => '隐私协议',
    ],
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.background_image',
    'parent_code' => 'shop.commission',
    'name' => '分销中心背景',
    'description' => NULL,
    'type' => 'string',
    'value' => '/static/img/admin/config/commission_bg.png',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.become_agent',
    'parent_code' => 'shop.commission',
    'name' => '成为分销商条件',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'type' => 'apply',
    ],
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.invite_lock',
    'parent_code' => 'shop.commission',
    'name' => '锁定下级条件',
    'description' => NULL,
    'type' => 'string',
    'value' => 'share',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.level',
    'parent_code' => 'shop.commission',
    'name' => '分销层级',
    'description' => NULL,
    'type' => 'int',
    'value' => 2,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.refund_commission_order',
    'parent_code' => 'shop.commission',
    'name' => '退款扣除业绩',
    'description' => '',
    'type' => 'boolean',
    'value' => 1,
    'store_range' => '',
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.refund_commission_reward',
    'parent_code' => 'shop.commission',
    'name' => '退款扣除佣金',
    'description' => '',
    'type' => 'boolean',
    'value' => 1,
    'store_range' => '',
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.reward_event',
    'parent_code' => 'shop.commission',
    'name' => '佣金结算方式',
    'description' => '',
    'type' => 'string',
    'value' => 'paid',
    'store_range' => '',
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.reward_type',
    'parent_code' => 'shop.commission',
    'name' => '佣金结算价',
    'description' => '',
    'type' => 'string',
    'value' => 'pay_price',
    'store_range' => '',
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.self_buy',
    'parent_code' => 'shop.commission',
    'name' => '分销内购',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.upgrade_check',
    'parent_code' => 'shop.commission',
    'name' => '升级审核',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.commission.upgrade_jump',
    'parent_code' => 'shop.commission',
    'name' => '越级升级',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch',
    'parent_code' => 'shop',
    'name' => '快递物流',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.driver',
    'parent_code' => 'shop.dispatch',
    'name' => '驱动类型',
    'description' => NULL,
    'type' => 'string',
    'value' => 'kdniao',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao',
    'parent_code' => 'shop.dispatch',
    'name' => '快递鸟配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.app_key',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => 'AppKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.customer_name',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '客户号',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.customer_pwd',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '客户密码',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.ebusiness_id',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '用户ID',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.express',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '快递公司编码',
    'description' => NULL,
    'type' => 'array',
    'value' => [],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.exp_type',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '快递类型',
    'description' => NULL,
    'type' => 'string',
    'value' => '1',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.jd_code',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '京东青龙编号',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.pay_type',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '支付方式',
    'description' => NULL,
    'type' => 'string',
    'value' => '3',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.kdniao.type',
    'parent_code' => 'shop.dispatch.kdniao',
    'name' => '快递鸟套餐',
    'description' => NULL,
    'type' => 'string',
    'value' => 'vip',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.sender',
    'parent_code' => 'shop.dispatch',
    'name' => '发货人',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'name' => '',
      'province_name' => '',
      'city_name' => '',
      'district_name' => '',
      'mobile' => '',
      'address' => '',
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.thinkapi',
    'parent_code' => 'shop.dispatch',
    'name' => 'thinkapi',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.dispatch.thinkapi.app_code',
    'parent_code' => 'shop.dispatch.thinkapi',
    'name' => 'thinkapi app_code',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.goods',
    'parent_code' => 'shop',
    'name' => '商品配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.goods.stock_warning',
    'parent_code' => 'shop.goods',
    'name' => '库存预警',
    'description' => NULL,
    'type' => 'int',
    'value' => 10,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order',
    'parent_code' => 'shop',
    'name' => '订单配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.auto_close',
    'parent_code' => 'shop.order',
    'name' => '订单自动关闭(分钟)',
    'description' => NULL,
    'type' => 'string',
    'value' => '10',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.auto_comment',
    'parent_code' => 'shop.order',
    'name' => '订单自动评价(天)',
    'description' => NULL,
    'type' => 'string',
    'value' => '7',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.auto_comment_content',
    'parent_code' => 'shop.order',
    'name' => '自动评价内容',
    'description' => '自动评价内容',
    'type' => 'string',
    'value' => '客户默认给出好评~',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.auto_confirm',
    'parent_code' => 'shop.order',
    'name' => '订单自动收货(天)',
    'description' => '订单自动确认收货',
    'type' => 'string',
    'value' => '10',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.auto_refund',
    'parent_code' => 'shop.order',
    'name' => '订单自动退款',
    'description' => '未发货订单，用户申请退款',
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.comment_check',
    'parent_code' => 'shop.order',
    'name' => '评价审核',
    'description' => '评价是否需要审核',
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.invoice',
    'parent_code' => 'shop.order',
    'name' => '订单发票',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.invoice.amount_type',
    'parent_code' => 'shop.order.invoice',
    'name' => '发票金额类型',
    'description' => NULL,
    'type' => 'string',
    'value' => 'pay_fee',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.order.invoice.status',
    'parent_code' => 'shop.order.invoice',
    'name' => '可申请发票',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform',
    'parent_code' => 'shop',
    'name' => '平台配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App',
    'parent_code' => 'shop.platform',
    'name' => 'App',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.app_id',
    'parent_code' => 'shop.platform.App',
    'name' => 'App AppId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.bind_mobile',
    'parent_code' => 'shop.platform.App',
    'name' => '绑定手机号',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.download',
    'parent_code' => 'shop.platform.App',
    'name' => '下载链接',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'android' => '',
      'ios' => '',
      'local' => '',
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.payment',
    'parent_code' => 'shop.platform.App',
    'name' => '支付配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.payment.alipay',
    'parent_code' => 'shop.platform.App.payment',
    'name' => '支付宝支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.payment.methods',
    'parent_code' => 'shop.platform.App.payment',
    'name' => '支付方式',
    'description' => NULL,
    'type' => 'array',
    'value' => [],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.payment.wechat',
    'parent_code' => 'shop.platform.App.payment',
    'name' => '微信支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.secret',
    'parent_code' => 'shop.platform.App',
    'name' => 'App 密钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.share',
    'parent_code' => 'shop.platform.App',
    'name' => '分享',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'methods' => [],
      'forwardInfo' => [
        'title' => 'Shopro',
        'subtitle' => 'Shopro商城提供技术驱动',
        'image' => '/static/img/shop/config/forward-preview.png',
      ],
      'linkAddress' => 'https://shopro.sheepjs.com/#/',
      'posterInfo' => [
        'user_bg' => '/static/img/shop/config/user-poster-bg.png',
        'goods_bg' => '/static/img/shop/config/goods-poster-bg.png',
        'groupon_bg' => '/static/img/shop/config/groupon-poster-bg.png',
      ],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.App.status',
    'parent_code' => 'shop.platform.App',
    'name' => 'App开启状态',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5',
    'parent_code' => 'shop.platform',
    'name' => 'H5',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.app_id',
    'parent_code' => 'shop.platform.H5',
    'name' => 'H5 AppId',
    'description' => '公众号或小程序的 AppId',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.payment',
    'parent_code' => 'shop.platform.H5',
    'name' => '支付配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.payment.alipay',
    'parent_code' => 'shop.platform.H5.payment',
    'name' => '支付宝支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.payment.methods',
    'parent_code' => 'shop.platform.H5.payment',
    'name' => '支付方式',
    'description' => NULL,
    'type' => 'array',
    'value' => [],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.payment.wechat',
    'parent_code' => 'shop.platform.H5.payment',
    'name' => '微信支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.secret',
    'parent_code' => 'shop.platform.H5',
    'name' => 'H5 密钥',
    'description' => '公众号或小程序的密钥',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.share',
    'parent_code' => 'shop.platform.H5',
    'name' => '分享设置',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'methods' => [],
      'linkAddress' => 'https://shopro.sheepjs.com/#/',
      'posterInfo' => [
        'user_bg' => '/static/img/shop/config/user-poster-bg.png',
        'goods_bg' => '/static/img/shop/config/goods-poster-bg.png',
        'groupon_bg' => '/static/img/shop/config/groupon-poster-bg.png',
      ],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.H5.status',
    'parent_code' => 'shop.platform.H5',
    'name' => 'H5开启状态',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram',
    'parent_code' => 'shop.platform',
    'name' => '微信小程序',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.app_id',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '小程序AppId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.auto_login',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '微信自动登录',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.bind_mobile',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '绑定手机号',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.payment',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '支付配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.payment.alipay',
    'parent_code' => 'shop.platform.WechatMiniProgram.payment',
    'name' => '支付宝支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.payment.methods',
    'parent_code' => 'shop.platform.WechatMiniProgram.payment',
    'name' => '支付方式',
    'description' => NULL,
    'type' => 'array',
    'value' => [],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.payment.wechat',
    'parent_code' => 'shop.platform.WechatMiniProgram.payment',
    'name' => '微信支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.secret',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '小程序密钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.share',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '分享信息',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'methods' => [
        'forward',
        'link',
        'poster',
      ],
      'forwardInfo' => [
        'title' => 'Shopro',
        'subtitle' => 'Shopro商城提供技术驱动',
        'image' => '/static/img/shop/config/forward-preview.png',
      ],
      'linkAddress' => 'https://shopro.sheepjs.com/#/',
      'posterInfo' => [
        'user_bg' => '/static/img/shop/config/user-poster-bg.png',
        'goods_bg' => '/static/img/shop/config/goods-poster-bg.png',
        'groupon_bg' => '/static/img/shop/config/groupon-poster-bg.png',
      ],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatMiniProgram.status',
    'parent_code' => 'shop.platform.WechatMiniProgram',
    'name' => '小程序开启状态',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount',
    'parent_code' => 'shop.platform',
    'name' => '微信公众号',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.app_id',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '公众号AppId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.auto_login',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '微信自动登录',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.bind_mobile',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '绑定手机号',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.payment',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '支付配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.payment.alipay',
    'parent_code' => 'shop.platform.WechatOfficialAccount.payment',
    'name' => '支付宝支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.payment.methods',
    'parent_code' => 'shop.platform.WechatOfficialAccount.payment',
    'name' => '支付方式',
    'description' => NULL,
    'type' => 'array',
    'value' => [],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.payment.wechat',
    'parent_code' => 'shop.platform.WechatOfficialAccount.payment',
    'name' => '微信支付配置',
    'description' => NULL,
    'type' => 'int',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.secret',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '公众号密钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.share',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '分享图片',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'methods' => [
        'forward',
        'link',
        'poster',
      ],
      'forwardInfo' => [
        'title' => 'Shopro',
        'subtitle' => 'Shopro商城提供技术驱动',
        'image' => '/static/img/shop/config/forward-preview.png',
      ],
      'linkAddress' => 'https://shopro.sheepjs.com/#/',
      'posterInfo' => [
        'user_bg' => '/static/img/shop/config/user-poster-bg.png',
        'goods_bg' => '/static/img/shop/config/goods-poster-bg.png',
        'groupon_bg' => '/static/img/shop/config/groupon-poster-bg.png',
      ],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.platform.WechatOfficialAccount.status',
    'parent_code' => 'shop.platform.WechatOfficialAccount',
    'name' => '公众号开启状态',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw',
    'parent_code' => 'shop',
    'name' => '充值提现',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.recharge',
    'parent_code' => 'shop.recharge_withdraw',
    'name' => '充值配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.recharge.custom_status',
    'parent_code' => 'shop.recharge_withdraw.recharge',
    'name' => '自定义金额',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.recharge.gift_type',
    'parent_code' => 'shop.recharge_withdraw.recharge',
    'name' => '赠送类型',
    'description' => NULL,
    'type' => 'string',
    'value' => 'money',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.recharge.methods',
    'parent_code' => 'shop.recharge_withdraw.recharge',
    'name' => '充值方式',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'wechat',
      'alipay',
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.recharge.quick_amounts',
    'parent_code' => 'shop.recharge_withdraw.recharge',
    'name' => '快捷充值金额',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ["money" => "10", "gift" => "0"],
      ["money" => "30","gift" => "2"],
      ["money" => "50","gift" => "5"],
      ["money" => "100","gift" => "12"]
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.recharge.status',
    'parent_code' => 'shop.recharge_withdraw.recharge',
    'name' => '开启充值',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw',
    'parent_code' => 'shop.recharge_withdraw',
    'name' => '提现配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.auto_arrival',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '自动到账',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.charge_rate',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '提现手续费',
    'description' => NULL,
    'type' => 'float',
    'value' => 0.3,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.max_amount',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '单次最大提现金额',
    'description' => NULL,
    'type' => 'float',
    'value' => 1000.0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.max_num',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '最多提现次数',
    'description' => NULL,
    'type' => 'int',
    'value' => 4,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.methods',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '提现方式',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      'alipay',
      'wechat',
      'bank',
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.min_amount',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '单次最小提现金额',
    'description' => NULL,
    'type' => 'float',
    'value' => 100,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'shop.recharge_withdraw.withdraw.num_unit',
    'parent_code' => 'shop.recharge_withdraw.withdraw',
    'name' => '提现次数单位',
    'description' => NULL,
    'type' => 'string',
    'value' => 'month',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'wechat',
    'parent_code' => NULL,
    'name' => '微信配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount',
    'parent_code' => 'wechat',
    'name' => '微信公众号配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.aes_key',
    'parent_code' => 'wechat.officialAccount',
    'name' => '消息加解密秘钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.app_id',
    'parent_code' => 'wechat.officialAccount',
    'name' => '开发者ID',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.logo',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号头像',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.name',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号名称',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.qrcode',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号二维码',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.secret',
    'parent_code' => 'wechat.officialAccount',
    'name' => '开发者秘钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.status',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号对接状态',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.token',
    'parent_code' => 'wechat.officialAccount',
    'name' => '令牌Token',
    'description' => NULL,
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.type',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号类型',
    'description' => NULL,
    'type' => 'int',
    'value' => 4,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
];
